package net.ifilm.entity;

/**
 * 全局系统参数表<t>systemparam</t>映射Bean类。
 *
 * User: <a href="wangjunneil@gmail.com">wangjun</a>
 * Date: 2012-08-05 21:42
 */
public class SystemParam {

    /**
     * 主键ID
     */
    private int id;

    /**
     * 参数名称
     */
    private String paramName;

    /**
     * 参数值域
     */
    private String paramValue;

    /**
     * 参数说明
     */
    private String detail;

    /**
     * 启用标志，0启用，1禁用
     */
    private int activeFlag;

    // --------------------------------------------- setter/getter

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getActiveFlag() {
        return activeFlag;
    }

    public void setActiveFlag(int activeFlag) {
        this.activeFlag = activeFlag;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("SystemParam: [")
                .append("id=").append(id).append(',')
                .append("name=").append(paramName).append(',')
                .append("value=").append(paramValue).append(']');
        return sb.toString();
    }

} ///:~
